From Conditional Compilation to Aspects: A Case Study in Software Product Lines Migration
نویسندگان
چکیده
Apart from adoption strategies, an existing Software Product Line (SPL) implemented using some variability mechanisms can be migrated to use another variability mechanism. In this paper, we present some migration strategies from one SPL implemented with conditional compilation to one using Aspect-Oriented Programming (AOP). The strategies present a variability pattern handled by the first mechanism and shows how it can be translated into a pattern using AOP constructs. We also show and discuss that some variability patterns cannot be migrated into AOP. The discussion centers around a commercial SPL in the mobile games domain.
منابع مشابه
Tracing Variabi l i ty from Implementation to Test Using Aspect-Oriented Programming
Software product lines have proven to be a very promising approach to software reuse. One of the key concepts in product lines is variability that enables the adaptation of common core assets to varying requirements. Variability corresponding to functionality can be managed using well-established techniques like conditional compilation, inheritance, or parameterization. To manage variable cross...
متن کاملA Quantitative Assessment of Aspectual Feature Modules for Evolving Software Product Lines
Feature-Oriented Programming (FOP) and Aspect-Oriented Programming (AOP) are programming techniques based on composition mechanisms, called refinements and aspects, respectively. These techniques are assumed to be good variability mechanisms for implementing Software Product Lines (SPLs). Aspectual Feature Modules (AFM) is an approach that combines advantages of feature modules and aspects to i...
متن کاملA quantitative and qualitative assessment of aspectual feature modules for evolving software product lines
Feature-Oriented Programming (FOP) and Aspect-Oriented Programming (AOP) are programming techniques based on composition mechanisms, called refinements and aspects, respectively. These techniques are assumed to be good variability mechanisms for implementing Software Product Lines (SPLs). Aspectual Feature Modules (AFM) is an approach that combines advantages of feature modules and aspects to i...
متن کاملOn the use of feature-oriented programming for evolving software product lines - A comparative study
Feature-oriented programming (FOP) is a programming technique based on composition mechanisms, called refinements. It is often assumed that the use of feature-oriented programming is better than other variability mechanisms for implementing Software Product Lines (SPLs). However, there is no empirical evidence to support this claim. In fact, recent research work found out that some composition ...
متن کاملPosition Paper: Static Flow-Sensitive & Context-Sensitive Information-flow Analysis for Software Product Lines
A software product line encodes a potentially large variety of software products as variants of some common code base, e.g., through the use of #ifdef statements or other forms of conditional compilation. Traditional information-flow analyses cannot cope with such constructs. Hence, to check for possibly insecure information flow in a product line, one currently has to analyze each resulting pr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006